]> dgit.raspbian.org Git - gnome-shell.git/commit
popupMenu: Remove can_focus=True from Switch
authorvanadiae <vanadiae35@gmail.com>
Tue, 20 Jul 2021 12:11:28 +0000 (14:11 +0200)
committervanadiae <vanadiae35@gmail.com>
Tue, 20 Jul 2021 12:11:28 +0000 (14:11 +0200)
commit7dd7714fd24baab3fb51ecbebcfaba31c325dc5e
tree10e3e077b75c5e4c8eb025ab3a610a7af921c774
parentda11d8d7ef4c14656c0553b1e545f8d99144bf8e
popupMenu: Remove can_focus=True from Switch

Since this is a bin and not a button, and it doesn't have any click/keyboard
handling on its own (as in that case it needs a parent button wired like in
the messages list controls), it is confusing that it has can_focus set to
True. To avoid any confusion, this commit removes it without breaking anything
since it had no real use.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1920>
js/ui/popupMenu.js